package org.example.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.example.model.User;

/**
 * Created with IntelliJ IDEA 2023.
 * Description:
 * User: homechen
 * Date: 2024-03-30
 * Time: 11:04
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    public int add(User user);

    public void updateBalance(@Param("ew") QueryWrapper<User> wrapper, @Param("count") int count);

//    public int delete(int id);
//
//    public int update(int id);
}
